/**
 * 
 */
package com.homesoft.runtime.metadata.modle;


/**
 * @author lihg
 *
 */
public interface IMetadataList {
	/// <summary>
    /// 更改字典集合中与指定元素相关的键
    /// </summary>
    /// <param name="item"></param>
    /// <param name="newKey"></param>
    /// <returns>返回是否修改成功，如果集合中已存在给定的新名称的键则修改不成功</returns>
    boolean ChangeItemKey(IMetadataObject item, String newKey);

    /// <summary>
    /// 是否已经存在指定的key
    /// </summary>
    /// <param name="key"></param>
    /// <returns></returns>
    boolean ContainsKey(String key);

    
    IMetadataObject get(String key);
	
}
